<div class="m-container " ng-controller="orderListController">
    <div class="m-brokerage">
        <ul class="dfr jssa aic orderListHead" active-uli>
            <li ng-click="$parent.orderTag = orderTags[0];" class="dfr aic h100 titleLi c33 active f14"
                ng-show="identity == 1">我售出的订单
            </li>
            <li ng-click="$parent.orderTag = orderTags[1];" class="dfr aic h100 titleLi c33 f14">我自己的订单</li>
        </ul>
        <div class=" " ng-show="orderTag == orderTags[1]">
            <div class="myOrderContent orderContent brokerage-content " scroll-down2>
                <li class="orderItem dfc borderT10" ng-repeat="item in (myOrders | orderBy :item.payTime)">
                    <div class="dfr w100">
                        <div class="itemLeft dfc jsc aic ">
                            <div class="broImg"><img ng-src="{{item.productAvatar?item.productAvatar:defaultHeadPic}}"></div>
                        </div>
                        <div class="itemRight dfc jssb aifs">
                            <div class="f14 over-hide tProTitle c33">{{item.productName}}</div>
                            <div class="price dfr jssb">
                                <div class="c7f f14">售价￥{{item.payTotal?item.payTotal:0}}</div>
                                <!--<div class="cred f14">佣金:&nbsp;&nbsp;{{item.brokerage}}元</div>-->
                            </div>
                            <div class="c7f">成交时间:{{item.payTime | date:'yyyy-MM-dd HH:mm:ss'}}</div>
                        </div>
                    </div>
                </li>
            </div>
            <div class="nodata" ng-show="!myOrders || myOrders.length == 0">暂无数据</div>
        </div>
        <div class=" " ng-show="orderTag == orderTags[0]  && identity == 1 ">
            <div class="saleOrders orderContent brokerage-content " scroll-down2>
                <li class="orderItem dfc borderT10" ng-repeat="item in mySaleOrders">
                    <div class="dfr w100">
                        <div class="itemLeft dfc jsc aic ">
                            <div class="broImg"><img ng-src="{{item.avatar?item.avatar:defaultHeadPic}}"></div>
                            <!--<div class="f14 c36">{{item.nickname}}</div>-->
                        </div>
                        <div class="itemRight dfc jsfe aifs">
                            <div class="f14 over-hide tProTitle c33">{{item.productName}}</div>
                            <div class="price dfr jssb">
                                <div class="c7f f14">售价￥{{item.payTotal?item.payTotal:0}}</div>
                                <div class="cred3 f14">健康管理费￥{{item.brokerageValue?item.brokerageValue:0}}</div>
                            </div>
                            <!--<div class="c7f">成交时间:&nbsp;{{item.payTime | date:'yyyy-MM-dd HH:mm:ss'}}-->
                        </div>
                    </div>
                    <div class="dfr afe jsfs borBotoom">
                        <!--<div class="dfr aife">-->
                        <div class="f14 c36 broName"><span class="f14 c36">{{item.nickname}}</span></div>
                        <div class="c7f broBtMiddle">成交时间:{{item.payTime | date:'yyyy-MM-dd HH:mm:ss'}}</div>
                        <!--</div>-->
                    </div>
                </li>
            </div>
            <div class="nodata" ng-show="!mySaleOrders || mySaleOrders.length == 0">暂无数据</div>
        </div>

        <div class="sum dfr jsc aic cbmain" ng-show="orderTag == orderTags[0]">
            <div class="f16 cff">
                共计获得健康管理费:&nbsp;{{totalBrokerage?totalBrokerage:0}}元
            </div>
        </div>
    </div>

</div>
